package messages;

import sharedspace.User;

/**
 * get courses of teacher tough this semester
 */
public class MessageCoursesOfTeacher extends Message {
	
	private User teacher = null;
	private int year;
	private int semester;

	public MessageCoursesOfTeacher(User user, int year,int semster ) {
		super(Message.MessageType.MESSAGE_GET_TEACHER_COURSE_SEMESTER);
		this.teacher = user;
		this.year=year;
		this.semester=semster ;
		
	}

	
	public int getYear() {
		return year;
	}


	public void setYear(int year) {
		this.year = year;
	}


	public int getSemester() {
		return semester;
	}


	public void setSemester(int semester) {
		this.semester = semester;
	}


	public User getTeacher() {
		return teacher;
	}


	public void setTeacher(User teacher) {
		this.teacher = teacher;
	}



}
